Optimal. Leaf size=310 \[ \frac{\sqrt [4]{5} \left (\sqrt{5} x^2+2\right ) \sqrt{\frac{5 x^4+4}{\left (\sqrt{5} x^2+2\right )^2}} \left (\sqrt{5} a+2 b\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right ),\frac{1}{2}\right )}{2 \sqrt{2} \sqrt{5 x^4+4} \left (5 a^2-4 b^2\right )}+\frac{\sqrt{b} \tan ^{-1}\left (\frac{x \sqrt{5 a^2+4 b^2}}{\sqrt{a} \sqrt{b} \sqrt{5 x^4+4}}\right )}{2 \sqrt{a} \sqrt{5 a^2+4 b^2}}-\frac{\left (\sqrt{5} x^2+2\right ) \sqrt{\frac{5 x^4+4}{\left (\sqrt{5} x^2+2\right )^2}} \left (\sqrt{5} a+2 b\right )^2 \Pi \left (-\frac{\left (\sqrt{5} a-2 b\right )^2}{8 \sqrt{5} a b};2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{4 \sqrt{2} \sqrt [4]{5} a \sqrt{5 x^4+4} \left (5 a^2-4 b^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.272687, antiderivative size = 310, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {1217, 220, 1707} \[ \frac{\sqrt{b} \tan ^{-1}\left (\frac{x \sqrt{5 a^2+4 b^2}}{\sqrt{a} \sqrt{b} \sqrt{5 x^4+4}}\right )}{2 \sqrt{a} \sqrt{5 a^2+4 b^2}}+\frac{\sqrt [4]{5} \left (\sqrt{5} x^2+2\right ) \sqrt{\frac{5 x^4+4}{\left (\sqrt{5} x^2+2\right )^2}} \left (\sqrt{5} a+2 b\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{2 \sqrt{2} \sqrt{5 x^4+4} \left (5 a^2-4 b^2\right )}-\frac{\left (\sqrt{5} x^2+2\right ) \sqrt{\frac{5 x^4+4}{\left (\sqrt{5} x^2+2\right )^2}} \left (\sqrt{5} a+2 b\right )^2 \Pi \left (-\frac{\left (\sqrt{5} a-2 b\right )^2}{8 \sqrt{5} a b};2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{4 \sqrt{2} \sqrt [4]{5} a \sqrt{5 x^4+4} \left (5 a^2-4 b^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1217
Rule 220
Rule 1707
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b x^2\right ) \sqrt{4+5 x^4}} \, dx &=-\frac{\left (2 b \left (\sqrt{5} a+2 b\right )\right ) \int \frac{1+\frac{\sqrt{5} x^2}{2}}{\left (a+b x^2\right ) \sqrt{4+5 x^4}} \, dx}{5 a^2-4 b^2}+\frac{\left (5 a+2 \sqrt{5} b\right ) \int \frac{1}{\sqrt{4+5 x^4}} \, dx}{5 a^2-4 b^2}\\ &=\frac{\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{5 a^2+4 b^2} x}{\sqrt{a} \sqrt{b} \sqrt{4+5 x^4}}\right )}{2 \sqrt{a} \sqrt{5 a^2+4 b^2}}+\frac{\sqrt [4]{5} \left (\sqrt{5} a+2 b\right ) \left (2+\sqrt{5} x^2\right ) \sqrt{\frac{4+5 x^4}{\left (2+\sqrt{5} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{2 \sqrt{2} \left (5 a^2-4 b^2\right ) \sqrt{4+5 x^4}}-\frac{\left (\sqrt{5} a+2 b\right )^2 \left (2+\sqrt{5} x^2\right ) \sqrt{\frac{4+5 x^4}{\left (2+\sqrt{5} x^2\right )^2}} \Pi \left (-\frac{\left (\sqrt{5} a-2 b\right )^2}{8 \sqrt{5} a b};2 \tan ^{-1}\left (\frac{\sqrt [4]{5} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{4 \sqrt{2} \sqrt [4]{5} a \left (5 a^2-4 b^2\right ) \sqrt{4+5 x^4}}\\ \end{align*}
Mathematica [C] time = 0.103303, size = 50, normalized size = 0.16 \[ -\frac{\left (\frac{1}{2}+\frac{i}{2}\right ) \Pi \left (-\frac{2 i b}{\sqrt{5} a};\left .i \sinh ^{-1}\left (\left (\frac{1}{2}+\frac{i}{2}\right ) \sqrt [4]{5} x\right )\right |-1\right )}{\sqrt [4]{5} a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.382, size = 86, normalized size = 0.3 \begin{align*}{\frac{1}{a\sqrt{{\frac{i}{2}}\sqrt{5}}}\sqrt{1-{\frac{i}{2}}{x}^{2}\sqrt{5}}\sqrt{1+{\frac{i}{2}}{x}^{2}\sqrt{5}}{\it EllipticPi} \left ( \sqrt{{\frac{i}{2}}\sqrt{5}}x,{\frac{{\frac{2\,i}{5}}\sqrt{5}b}{a}},{\frac{\sqrt{-{\frac{i}{2}}\sqrt{5}}}{\sqrt{{\frac{i}{2}}\sqrt{5}}}} \right ){\frac{1}{\sqrt{5\,{x}^{4}+4}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{5 \, x^{4} + 4}{\left (b x^{2} + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{5 \, x^{4} + 4}}{5 \, b x^{6} + 5 \, a x^{4} + 4 \, b x^{2} + 4 \, a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (a + b x^{2}\right ) \sqrt{5 x^{4} + 4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{5 \, x^{4} + 4}{\left (b x^{2} + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]